﻿@model Pr0ject0.Models.JobTitleModel

@{
    ViewBag.Title = "CreateTitle";
}

<br />
<div class="button">
    @Html.ActionLink("Back to List", "Index")
</div>

<h2>CreateTitle</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Create Job Title</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.titleName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.titleName)
            @Html.ValidationMessageFor(model => model.titleName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.description)
            @Html.ValidationMessageFor(model => model.description)
        </div>

        <br />

        <p>
            <input type="submit" value="Create" />
        </p> 

    </fieldset>
   
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
